*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #45b29d;
}

.box{
overflow: hidden;
    top:50%;
    left:50%;
    /*width: 200px;*/
    /*height: 60px;*/
    font-size: 0;
    margin-right: 10px;
    position: fixed;
    transform: translate(-50%,-50%);
}

.box>li{
    width: 10px;
    height: 60px;
    margin-right: 10px;
    background-color: white;
    display: inline-block;
    animation-name:kuai;
    animation-duration:0.8s;
    animation-timing-function:linear;
    animation-iteration-count:infinite;
    animation-direction:alternate;

}
.box>li:nth-child(2){
    animation-delay: 0.1s;
}

.box>li:nth-child(3){
    animation-delay: 0.2s;
}

.box>li:nth-child(4){
    animation-delay: 0.3s;
}

.box>li:nth-child(5){
    animation-delay: 0.4s;
}

.box>li:nth-child(6){
    animation-delay: 0.5s;
}
.box>li:nth-child(7){
    animation-delay: 0.6s;
}


.box>li:nth-child(8){
    animation-delay: 0.7s;
}
.box>li:nth-child(9){
    animation-delay: 0.8s;
}

.box>li:last-child{
    animation-delay: 0.9s;
    margin-right: 0;
}



@keyframes kuai{
    0%{
        transform: scaleY(1);
    }
    100%{
        transform: scaleY(0);
    }
}